package com.csap.framework.oauth2.server.model;

import com.csap.framework.annotation.apidoc.Description;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;

import java.time.LocalDateTime;
import java.util.List;

import com.csap.framework.oauth2.server.entity.RolesAttributeEntity;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;

/**
 * <p>
 * 角色属性
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-07-25 23:51:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "角色属性", value = "rolesAttribute对象")
@Description(value = "角色属性Model")
public class RolesAttributeModel extends CloneModel<RolesAttributeModel, RolesAttributeEntity> {
    @ApiModelProperty(description = "角色ID", value = "角色ID")
    private Long id;
    @ApiModelProperty(description = "属性名", value = "属性名")
    private String name;
    @ApiModelProperty(description = "属性值", value = "属性值")
    private List<String> value;
    @ApiModelProperty(description = "创建时间", value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(description = "角色的ID", value = "角色的ID")
    private Long roleId;
    @ApiModelProperty(description = "描述", value = "描述")
    private String descr;

}
